import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home,
    meta:{
      title:"home"
    },
  },
  {
    path:"/Android",
    component:()=>import("@/components/Android.vue"),
    name:"Android",
    meta:{
      title:"Android"
    }
  },
  {
    path:"/Linux",
    component:()=>import("@/components/Linux.vue"),
    name:"Linux",
    meta:{
      title:"Linux"
    }
  },
  {
    path:"/Storage",
    component:()=>import("@/components/Storage.vue"),
    name:"Storage",
    meta:{
      title:"Storage"
    }
  },
  {
    path:"/DRST",
    component:()=>import("@/components/DiskReadSpeedTest.vue"),
    name:"DRST",
    meta:{
      title:"DRST"
    }
  }
]

const router = new VueRouter({
  routes
})

export default router
